package com.itheima_05;

/**
 * @author Xiao
 * @date 2021/7/5
 */
public class StringDemo02 {
    public static void main(String[] args) {
        String s1 = "ABC";
        String s2 = "abc";
        String s3 = "abc";
        System.out.println(s1.equals(s2));
        System.out.println(s2.equals(s3));
        System.out.println(s1.equalsIgnoreCase(s2));
    }
}
